package com.fdb.basic.framework.core.vo;

/**
 * 
 * http返回VO
 * 
 * @author Cytus_
 * @since 2018年5月11日 下午4:01:38
 * @version 1.0
 *
 */
public class EngineHttpResponseVO {
	
	private Object data;
	
	private String errorMsg;
	
	private String errorCode;
	
	private boolean result;

	public EngineHttpResponseVO() {
		super();
	}

	public EngineHttpResponseVO(Object data, boolean result) {
		super();
		this.data = data;
		this.result = result;
	}

	public EngineHttpResponseVO(Object data, String errorMsg, String errorCode, boolean result) {
		super();
		this.data = data;
		this.errorMsg = errorMsg;
		this.errorCode = errorCode;
		this.result = result;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public boolean getResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
